package com.example.xlzx.entity.vo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AppointmentPageVo {

    @ApiModelProperty(value = "预约 ID，主键，自增")
    private Long id;

    @ApiModelProperty(value = "用户真实姓名")
    private String userRealName;


    @ApiModelProperty(value = "医生真实姓名")
    private String doctorRealName;

    @ApiModelProperty(value = "预约时间")
    private LocalDateTime appointTime;

    @ApiModelProperty(value = "状态（0=待确认，1=已确认,2=驳回）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "0 未删，1删除")
    @TableLogic
    @JsonIgnore//序列化时自动忽略不显示出来
    private Integer isDeleted;
}
